package com.demo2do.fms.queue.entity;

import java.util.Date;

import com.demo2do.fms.entity.vehicle.tractor.Tractor;


/**
 *
 * @author Ark
 *
 */
public class VehicleCodeStat {

    /** 牵引车id */
    private Long vehicleId;
    
    /** 车辆code */
    private String code;
    
    /** 英文车牌号 */
    private String brandEnCode;
    
    /** 更新时间 */
    private Date updateTime;
    
    /**
     * The default constructor
     */
    public VehicleCodeStat() {
    }
    
    /**
     * @param tractor
     * @param brandEnCode
     */
    public VehicleCodeStat(Tractor tractor, String brandEnCode) {
        this.vehicleId = tractor.getVamId();
        this.code = tractor.getCode();
        this.brandEnCode = brandEnCode;
        this.updateTime = new Date();
    }

    /**
     * @return the vehicleId
     */
    public Long getVehicleId() {
        return vehicleId;
    }

    /**
     * @return the code
     */
    public String getCode() {
        return code;
    }

    /**
     * @return the brandEnCode
     */
    public String getBrandEnCode() {
        return brandEnCode;
    }

    /**
     * @return the updateTime
     */
    public Date getUpdateTime() {
        return updateTime;
    }

    /**
     * @param vehicleId the vehicleId to set
     */
    public void setVehicleId(Long vehicleId) {
        this.vehicleId = vehicleId;
    }

    /**
     * @param code the code to set
     */
    public void setCode(String code) {
        this.code = code;
    }

    /**
     * @param brandEnCode the brandEnCode to set
     */
    public void setBrandEnCode(String brandEnCode) {
        this.brandEnCode = brandEnCode;
    }

    /**
     * @param updateTime the updateTime to set
     */
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
    
}